import pickle

data1 = {'a': (120191080323,18),
         'b': (120191080322,19),
         'c': (120191080320,19)}

output = open('data.pkl', 'wb')

pickle.dump(data1, output)

output.close()